class AddLanguageEncodingData < ActiveRecord::Migration
  def self.up
    down
    LanguageEncoding.create(:title => '英语', :encoding => 'eng', :about => '美国英语')
    LanguageEncoding.create(:title => '汉语', :encoding => 'zhn', :about => '中文简体' )
    LanguageEncoding.create(:title => '蒙古语', :encoding => 'mon', :about => '传统蒙古语，主要通行于中国内蒙古、新疆、黑龙江，吉林等地')
  end

  def self.down
    LanguageEncoding.delete_all
  end
end
